package com.zyd.shiro.business.service;

import com.github.pagehelper.PageInfo;
import com.zyd.shiro.business.entity.PurchaseLine;
import com.zyd.shiro.framework.object.BaseConditionVO;
import com.zyd.shiro.framework.object.AbstractService;
import com.zyd.shiro.persistence.beans.PakPurchaseLine;

import java.util.List;

public interface PakPurchaseLineService extends AbstractService<PurchaseLine, Long> {

    /**
     * 分页查询
     *
     * @param vo
     * @return
     */
    PageInfo<PurchaseLine> findPageBreakByCondition(BaseConditionVO vo);


      void increase(PakPurchaseLine pakPurchaseLine);

    List<PakPurchaseLine> findByPurchase(Long purchaseId);

    void increase(PakPurchaseLine purchaseLine, Long purchaseId);
}